#ID:2115070150
#Name:宋晓燃
###problem1

def formula(a,b):
    return (b**(2/3)+3*a**(1/3)+1)/(a*b-6)


###end

###problem2

a,n=map(int,input().split())
sum=0
sum_1=1
s=[str(i)+str(a)for i in range(1,n+1)]
print(s)
for i in s:
     sum=int(i)
     sum_1*=sum
print(sum_1)

###end


###problem3

from collections import defaultdict
f = open('a.txt')

res = defaultdict(int)
for line in f.readlines():
    line = line.strip('\n')
    for l in line.split(' '):
        l = l.strip('.')
        l = l.strip(',')
        if not l.isdigit():
            res[l] += 1

res = sorted(res.items(), key=lambda x:x[1], reverse=False)
wf = open('b.txt', 'w')
for r in res[:10]:
    wf.write(str(r[0]) + ':' + str(r[1]) + '\n')
wf.close()
f.close()
               



###end


###problem4

def convert(path, string) :
    d={}
    with open(path,'r') as f:
        for i in f.readlines():
            a,d=i.split('=')
            d[a]=b
        s=''
        for i in string:
            s+=d[i]
        return s



###end


###problem5



def my_yield(a):
      for i in a:
        for j in range(2):
            yield i[j]
a=["aa", 'bb', 'cc']
ojb=my_yield(a)
print([*ojb])





###end

###problem6


###end